<?php /*a:3:{s:55:"/home/pirate/wx_manager/app/admin/view/login/login.html";i:1606210744;s:41:"../app/common/admin/lib/login_header.html";i:1606210425;s:36:"./static/admin/lib/login_footer.html";i:1620272346;}*/ ?>
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title><?php if(isset($title)): ?><?php echo htmlentities($title); ?>-<?php endif; ?>微信后台管理</title>
<link rel="stylesheet" href="/static//css/base.css" type="text/css">
<link rel="stylesheet" href="/static//css/admin/admin.css?v={time()}" type="text/css">
<script src="/static//js/jquery-1.7.1.min.js"></script>
<script src="/static//js/common.js?v={time()}"></script>

<!--[if IE 6]>
<script src="../js/DD_belatedPNG_0.0.8a-min.js"></script>
<script>
  DD_belatedPNG.fix('.logo a,.n-icon');
</script>
<![endif]-->
<script type="text/javascript">
  var siteUrl = "<?php echo htmlentities(SITE_URL); ?>";
  var uploadUrl = "{UPLOAD_URL}";
</script>
</head>
<body <?php if($nobg != 1): ?>style="background:#f0f3f7;"<?php endif; ?>>
<div id="wrap">
  <div class="header">
    <div class="htop clearfix">
      <h1 class="logo left" style="width: 170px;"><a href="<?php echo Url('index'); ?>">微信后台管理</a></h1>
      <div class="htop-login right">
      </div>
    </div>
  </div>
  <div class="container clearfix <?php if($nobg == 1): ?>nobg<?php endif; ?>">
<div class="login-con">
  
  <div class="login-form">
    <form action="<?php echo Url('login/login_auth'); ?>" method="post">
      <p class="login-form-box">
        <label for="">用户名：</label><input type="text" name="username" id="username" value="<?php echo htmlentities($username); ?>">
      </p>
      <p class="login-form-box">
        <label for="">密&nbsp;&nbsp;&nbsp;码：</label><input name="password" id="password" type="password" value="<?php echo htmlentities($password); ?>">
      </p>
      <p class="clearfix" style="display:none;">
        <label for="remember" class="login-form-chk left"><input type="checkbox" id="remember"><span>记住密码</span></label>
      </p>
      <p class="clearfix">
        <label for="remember" class="login-form-chk left"><span></span></label>
        <button type="submit" class="btn btn-success btn-xxl right js_loginBtn">&nbsp;&nbsp;登&nbsp;录&nbsp;&nbsp;</button>
      </p>
    </form>
  </div>
</div>
<script>
$(function(){
  <?php if(isset($notice)): ?> showMsg("<?php echo htmlentities($notice); ?>"); <?php endif; ?>

  $('.js_loginBtn').click(function(e){
    e.preventDefault();
    if ($('.js_loginBtn').attr('is_post') == 1) {
      showMsg('正在提交信息，请稍候 ...');
      return false;
    }
    var userName = $.trim($('#username').val());
    if (!userName) {
      showMsg('用户名不能为空');
      return;
    }
    var password = $.trim($('#password').val());
    if (!password) {
      showMsg('密码不能为空');
      return;
    }
    $('.js_loginBtn').attr('is_post', 1);
    var frm = $(this).closest('form');
    $('.js_loginBtn').attr('is_post', 0);
    frm.submit();
  });
});
</script>
    
  </div>
</div>
</body>
</html>